<template>
    <router-view/>
</template>

<style lang="less">
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html, body {
        height: 100%;
        min-width: 1200px;
    }

    .app-w {
        width: 1200px;
        margin: 0 auto;
    }

    table {
        border-collapse: collapse;
        width: 100%;
        text-align: center;
    }

    th, td {
        border: 1px solid #efefef;
        padding: 12px;
    }
    th{
        background-color: #f1f1f1;;
    }
    tr{
        &:hover{
            background-color: #fbfbfb;
        }
    }

    .wrap {
        background-color: #fff;

        .wrap-util {
            margin-bottom: 10px;
        }

        .pagination {
            margin-top: 10px;
        }
    }

    /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
    ::-webkit-scrollbar {
        width: 7px;
        height: 7px;
        background-color: #F5F5F5;
    }

    /*定义滚动条轨道 内阴影+圆角*/
    ::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        background-color: #F5F5F5;
    }

    /*定义滑块 内阴影+圆角*/
    ::-webkit-scrollbar-thumb {
        border-radius: 10px;
        box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
        background-color: #c8c8c8;
    }

    .title {
        border-left: 5px solid #fcce49;
        padding-left: 10px;
    }

    .download-page {
        margin: 15px;
        .download-item {
            margin: 15px;
            .download-item-content {
                display: flex;
                flex-wrap: wrap;
                .tip {
                    box-shadow: 2px 3px 10px #cccccc;
                    border: 1px solid #d7d7d7;
                    border-radius: 2px;
                    overflow: hidden;
                    margin: 15px;
                    width: 250px;
                    position: relative;
                    transition: all 0.2s;
                    .tip-img {
                        width: 100%;
                        height: 200px;
                        overflow: hidden;
                        position: relative;
                        img {
                            width: 100%;
                            height: 100%;
                            transition: all 0.7s;

                            &:hover {
                                transform: scale(1.2);
                            }
                        }
                        .up {
                            width: 0;
                            height: 0;
                            border-left: 15px solid transparent;
                            border-right: 15px solid transparent;
                            border-bottom: 15px solid  #f9f9f9;
                            position: absolute;
                            right: 30px;
                            bottom: 0;
                        }
                    }

                    .tip-text {
                        background-color: #f9f9f9;
                        position: relative;
                        width: 100%;
                        min-height: 120px;
                        overflow: hidden;
                        p {
                            margin: 0;
                            padding: 1px 5px 12px;
                        }

                        P:first-of-type {
                            margin-top: 5px;
                        }

                        .p1 {
                            font-size: 14px;
                            font-weight: bold;
                            color: #0c0004;
                        }

                        .p2 {
                            font-size: 12px;
                            font-weight: bold;
                            color: #ca366e;
                        }
                        .btn {
                            text-align: right;
                            padding: 0 5px 10px 0;
                        }
                    }

                    &:hover {
                        box-shadow: 5px 8px 15px #cccccc;
                        border: 1px solid #4e85ca;
                    }
                }

                .tip:not(:nth-child(4n)) {
                    margin-right: calc(4% / 3);
                }

            }
        }
    }


    .verify_box {
        border: 1px solid #ccc;
        position: relative;
        background: #eee;
    }

    .verify_forward_box {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1
    }

    .verify_drag_box {
        height: 100%;
        background: #fff;
        color: #333;
        text-align: center;
        cursor: pointer;
        position: absolute;
        z-index: 2
    }

    .verify_tip {
        text-align: center;
        color: #888;
    }

    .noselect {
        -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Chrome/Safari/Opera */
        -khtml-user-select: none; /* Konqueror */
        -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
        user-select: none; /* Non-prefixed version, currently not supported by any browser */
    }
</style>
